<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
        <h1>教师列表</h1>
        <div>
            <a href="/add_teacher_class/">添加</a>
        </div>
        <table>
            <thead>
                <tr>
                    <th>ID</th>
                    <th>教师名称</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                {% for row in class_list %}
                    <tr>
                        <td>{{ row.techer_id }}</td>
                        <td>{{ row.teacher_name }}</td>

                        <td>
                             <a href="/edit_teacher_class/?nid={{ row.techer_id }}">编辑</a>
                            <a href="/del_teacher_class/?nid={{row.techer_id}}">删除</a>

                        </td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
</body>
</html>